Improving Test Efficiency through Prioritization Based On Testing Dependency
نویسندگان
چکیده
During the various iterations of software development, test case prioritization generally schedules test cases in order to increase test efficiency as soon as possible without reducing the scale of the test. It is noted that currently, many prioritization techniques are usually based on the assumption that the test cases are independent so as to reduce testing effort. However in the actual test, the dependencies and relations exist between the test cases. In this paper, we propose a new type of prioritization technique based on the relationship of dependencies between test cases. We gather the dependency information of a test suite and then put forward a weighted depth-first search algorithm to determine the most effective order. To assess our approach, an academic feasibility study and three industrial experiments are conducted. Evaluation results indicate that our proposed method can be used to improve the fault detection effectiveness when compared with random ordering and some existed prioritization techniques which are based on function coverage.
منابع مشابه
Test Case Generation and Prioritization Based on Uml Behavioral Models
Test case prioritization (TCP) techniques have been proven to be beneficial for improving testing activities. Prioritized test suites are found using different techniques of prioritization. While code coverage based prioritization techniques are found to be used by most scholars, test case prioritization based on UML behavioral models has not been given much attention so far. We propose a novel...
متن کاملTest Case Prioritization in a Specification-based Testing Environment
The topic of test case prioritization has been researched extensively in the past decade. However, current researches carried out on test case prioritization are mainly concerned with independent test cases in a structural testing environment. In a specification-based testing environment, however, some test cases are inter-case dependent and must follow certain sequences of execution. The objec...
متن کاملPrioritization of Test Cases scenarios derived from UML Diagrams
Test Case Prioritization (TCP) is setting priority to each and every test case from test case suit and executes those test cases in descending order. The proposed generic tool will first generate test cases from UML diagram sequence diagram and prioritize them on basis of following criteria's: prioritization on depending upon depth, prioritization on dependency of number of parameters, pri...
متن کاملComReg: A Complex Network Approach to Prioritize Test Cases for Regression Testing
Regression testing is a testing process that is performed to provide confidence that changes in a part of software do not affect other parts of the software. Execution of the all existing test cases is the best way to re-establish the confidence. However, regression testing is an expensive process; there might be insufficient resources (e.g., time, testers) to allow for the re-execution of all ...
متن کاملDynamic Test
Test case prioritization technology is to sort the test cases before the software testing designed to improve test efficiency. This paper presents a dynamic test case prioritization technique based on multi-objective. It integrates several traditional single-objective technologies so that makes it more flexible. This technology, from five dimensions, calculates prioritization values of test cas...
متن کامل